package net.trustie.pipeline;

import java.util.List;

import javax.annotation.Resource;

import net.trustie.dao.CNblogsQ_Dao;
import net.trustie.model.cnblogs_q_solved_Model;
import net.trustie.model.cnblogs_q_unsolved_Model;

import org.springframework.stereotype.Component;

import us.codecraft.webmagic.Task;
import core.PageModelPipeline;

@Component("cnblogs_q_solved_pipeline")
public class cnblogs_q_solved_pipeline implements PageModelPipeline<cnblogs_q_solved_Model> {
	@Resource
	private CNblogsQ_Dao cNblogsQ_Dao;
	
	@Override
	public void process(cnblogs_q_solved_Model cModel, Task task) {
		cNblogsQ_Dao.add(cModel);
	}
}
